/**
 * @author Administrator
 */
public class Phone {
    private String phone;
    private String color;
    void setPhone(String phone1){
        phone=phone1;
    }
    String getPhone(){

        return phone;
    }
    void setColor(String color1){
        color=color1;
    }
    String getColor(){
        return color;
    }

    String call(){
        System.out.println(phone+"可以打电话");
        return null;
    }
    void play(){

        System.out.println(phone+"可以玩游戏");
    }
}
